// 单据 送货员关系
const {DataTypes, db } = require("../db");
db.define('invoiceDeliver', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,comment:'表自增ID'},
tenantId:{type: DataTypes.INTEGER,allowNull:false,comment:''}, 
iid:{type: DataTypes.INTEGER,allowNull:false,comment:'票据ID'}, 
deliverId:{type: DataTypes.INTEGER,allowNull:false,comment:'送货员ID'}, 
deliverName:{type: DataTypes.STRING(255),allowNull:false,comment:'送货员'}, 

}, {
    tableName: 'invoice_deliver',
    timestamps: false,
    comment: '单据 送货员关系'
});